﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.Common
{
    /// <summary>
    /// Unit of work interface.
    /// </summary>
    public interface IUnitOfWork
    {
        /// <summary>
        /// Saves all the work performed since the last commit or roll back.
        /// </summary>
        void Save();

        /// <summary>
        /// Rolls back all the work performed since the last commit or roll back.
        /// </summary>
        //void RollBack();
    }
}
